package com.blb.community_admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class ZyOwner {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private long ownerId;
    private String ownerNickname;
    private String ownerRealName;
    private String ownerGender;
    private long ownerAge;
    private String ownerIdCard;
    private String ownerPhoneNumber;
    private String ownerOpenId;
    private String ownerWechatId;
    private String ownerQqNumber;
    private java.sql.Date ownerBirthday;
    private String ownerPortrait;
    private String ownerSignature;
    private String ownerStatus;
    private String ownerLogonMode;
    private String ownerType;
    private String ownerPassword;
    private String createBy;
    private java.sql.Timestamp createTime;
    private String updateBy;
    private java.sql.Timestamp updateTime;
    private String remark;
    @TableField(exist = false)
    private ZyCommunity zyCommunity;
    @TableField(exist = false)
    private ZyBuilding zyBuilding;
    @TableField(exist = false)
    private ZyUnit zyUnit;
    @TableField(exist = false)
    private ZyRoom zyRoom;
    @TableField(exist = false)
    private ZyOwnerRoom zyOwnerRoom;

}
